[INFO] cloning repository https://github.com/museun/measure
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/museun/measure" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuseun%2Fmeasure", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuseun%2Fmeasure'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f9912e8112cb8c8de99cff42e1769353e2e1685e
[INFO] building museun/measure against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuseun%2Fmeasure" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/museun/measure on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/museun/measure
[INFO] finished tweaking git repo https://github.com/museun/measure
[INFO] tweaked toml for git repo https://github.com/museun/measure written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/museun/measure already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 99387dea4acf409840311b6c5e483748de92c8e168deabf7c26f2a56b57312fb
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "99387dea4acf409840311b6c5e483748de92c8e168deabf7c26f2a56b57312fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "99387dea4acf409840311b6c5e483748de92c8e168deabf7c26f2a56b57312fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "99387dea4acf409840311b6c5e483748de92c8e168deabf7c26f2a56b57312fb", kill_on_drop: false }`
[INFO] [stdout] 99387dea4acf409840311b6c5e483748de92c8e168deabf7c26f2a56b57312fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 51ec0f02aa30fd278122d438c3deecdef2cdb0be32e922e6f382689a811ee714
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "51ec0f02aa30fd278122d438c3deecdef2cdb0be32e922e6f382689a811ee714", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.8
[INFO] [stderr]    Compiling measure v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/main.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     os::windows::prelude::*,
[INFO] [stdout]   |         ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     shared::minwindef::{FILETIME, TRUE},
[INFO] [stdout]    |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     um::{
[INFO] [stdout]    |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PROCESS_INFORMATION` in this scope
[INFO] [stdout]   --> src/main.rs:26:11
[INFO] [stdout]    |
[INFO] [stdout] 26 |     info: PROCESS_INFORMATION,
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `STARTUPINFOW` in this scope
[INFO] [stdout]   --> src/main.rs:34:36
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl ProcessInfo {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<STARTUPINFOW>`
[INFO] [stdout] ...
[INFO] [stdout] 34 |         let mut si = MaybeUninit::<STARTUPINFOW>::zeroed().assume_init();
[INFO] [stdout]    |                                    ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `STARTUPINFOW` in this scope
[INFO] [stdout]   --> src/main.rs:35:27
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl ProcessInfo {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<STARTUPINFOW>`
[INFO] [stdout] ...
[INFO] [stdout] 35 |         si.cb = size_of::<STARTUPINFOW>() as u32;
[INFO] [stdout]    |                           ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateProcessW` in this scope
[INFO] [stdout]   --> src/main.rs:38:19
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let res = CreateProcessW(
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/main.rs:43:13
[INFO] [stdout]    |
[INFO] [stdout] 43 |             TRUE,
[INFO] [stdout]    |             ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CREATE_SUSPENDED` in this scope
[INFO] [stdout]   --> src/main.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |             CREATE_SUSPENDED,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/main.rs:51:19
[INFO] [stdout]    |
[INFO] [stdout] 51 |         if res != TRUE {
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JOBOBJECT_EXTENDED_LIMIT_INFORMATION` in this scope
[INFO] [stdout]   --> src/main.rs:68:31
[INFO] [stdout]    |
[INFO] [stdout] 68 |     unsafe fn spawn(&self) -> JOBOBJECT_EXTENDED_LIMIT_INFORMATION {
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateJobObjectW` in this scope
[INFO] [stdout]   --> src/main.rs:69:19
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let job = CreateJobObjectW(null_mut(), null_mut());
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `AssignProcessToJobObject` in this scope
[INFO] [stdout]   --> src/main.rs:70:12
[INFO] [stdout]    |
[INFO] [stdout] 70 |         if AssignProcessToJobObject(job, self.info.hProcess) != TRUE {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/main.rs:70:65
[INFO] [stdout]    |
[INFO] [stdout] 70 |         if AssignProcessToJobObject(job, self.info.hProcess) != TRUE {
[INFO] [stdout]    |                                                                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ResumeThread` in this scope
[INFO] [stdout]   --> src/main.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |         ResumeThread(self.info.hThread);
[INFO] [stdout]    |         ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]   --> src/main.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |         CloseHandle(self.info.hThread);
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope
[INFO] [stdout]   --> src/main.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |         WaitForSingleObject(self.info.hProcess, INFINITE);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope
[INFO] [stdout]   --> src/main.rs:81:49
[INFO] [stdout]    |
[INFO] [stdout] 81 |         WaitForSingleObject(self.info.hProcess, INFINITE);
[INFO] [stdout]    |                                                 ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JOBOBJECT_EXTENDED_LIMIT_INFORMATION` in this scope
[INFO] [stdout]   --> src/main.rs:82:39
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl ProcessInfo {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<JOBOBJECT_EXTENDED_LIMIT_INFORMATION>`
[INFO] [stdout] ...
[INFO] [stdout] 82 |         let mut limit = MaybeUninit::<JOBOBJECT_EXTENDED_LIMIT_INFORMATION>::uninit();
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QueryInformationJobObject` in this scope
[INFO] [stdout]   --> src/main.rs:83:19
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let res = QueryInformationJobObject(
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `JobObjectExtendedLimitInformation` in this scope
[INFO] [stdout]   --> src/main.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |             JobObjectExtendedLimitInformation,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `JOBOBJECT_EXTENDED_LIMIT_INFORMATION` in this scope
[INFO] [stdout]   --> src/main.rs:87:23
[INFO] [stdout]    |
[INFO] [stdout] 29 | impl ProcessInfo {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<JOBOBJECT_EXTENDED_LIMIT_INFORMATION>`
[INFO] [stdout] ...
[INFO] [stdout] 87 |             size_of::<JOBOBJECT_EXTENDED_LIMIT_INFORMATION>() as u32,
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]   --> src/main.rs:90:19
[INFO] [stdout]    |
[INFO] [stdout] 90 |         if res != TRUE {
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]   --> src/main.rs:97:9
[INFO] [stdout]    |
[INFO] [stdout] 97 |         CloseHandle(job);
[INFO] [stdout]    |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessTimes` in this scope
[INFO] [stdout]    --> src/main.rs:110:12
[INFO] [stdout]     |
[INFO] [stdout] 110 |         if GetProcessTimes(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope
[INFO] [stdout]    --> src/main.rs:116:14
[INFO] [stdout]     |
[INFO] [stdout] 116 |         ) != TRUE
[INFO] [stdout]     |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope
[INFO] [stdout]    --> src/main.rs:122:12
[INFO] [stdout]     |
[INFO] [stdout] 122 |         if GetCurrentProcess() == handle {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FILETIME` in this scope
[INFO] [stdout]    --> src/main.rs:130:35
[INFO] [stdout]     |
[INFO] [stdout] 130 |         impl AsFractionalTime for FILETIME {
[INFO] [stdout]     |                                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetExitCodeProcess` in this scope
[INFO] [stdout]    --> src/main.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |         GetExitCodeProcess(self.info.hProcess, &mut exit_code);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]    --> src/main.rs:150:9
[INFO] [stdout]     |
[INFO] [stdout] 150 |         CloseHandle(self.info.hProcess);
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]   --> src/main.rs:31:50
[INFO] [stdout]    |
[INFO] [stdout] 31 |         let wstr: Vec<u16> = command.as_os_str().encode_wide().collect();
[INFO] [stdout]    |                                                  ^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 31 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `measure`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "51ec0f02aa30fd278122d438c3deecdef2cdb0be32e922e6f382689a811ee714", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51ec0f02aa30fd278122d438c3deecdef2cdb0be32e922e6f382689a811ee714", kill_on_drop: false }`
[INFO] [stdout] 51ec0f02aa30fd278122d438c3deecdef2cdb0be32e922e6f382689a811ee714
